package com.css.dzj.zfjg.modules.other.service;

import com.css.dzj.zfjg.modules.adminspection.entity.JgJgxwCheckActionEntity;
import com.css.dzj.zfjg.modules.other.entity.JgJgxwOtherActionEntity;
import com.css.dzj.zfjg.modules.taskinfo.vo.rwjgLh;
import com.querydsl.core.QueryResults;
import org.springframework.data.domain.Pageable;

public interface JgJgxwOtherActionService {
    QueryResults<JgJgxwOtherActionEntity> queryPage(Pageable pageable);
    JgJgxwOtherActionEntity getById(String id);
    void save(JgJgxwOtherActionEntity otherActionEntity);
    void updateById(JgJgxwOtherActionEntity otherActionEntity);
    void deleteById(String id);
    rwjgLh findOneById(String actionId);

    /**
     * 通过id获取其它行为信息
     * @param actionId
     * @return
     */
    JgJgxwOtherActionEntity findById(String actionId);

    /**
     * 物理删除其它行为信息
     * @param otherActionEntity
     */
    void physicalDelete(JgJgxwOtherActionEntity otherActionEntity);
}
